<template>
  <view class="pageContent">
    <video
      id="myVideo"
      :src="videoUrl"
      controls
      autoplay="true"
    >
    </video>
  </view>
</template>

<script>
import { mapState } from 'vuex'
import config from '../../../../static/config.js'
import util from '../../../../static/utils/util.js'
export default {
  data () {
    return {
      images: config.images,
      localImages: config.localImages,
      formData: {
        visitorNotifySwitch:0,
        faceSta:0,
      },
      room:'',
      // videoUrl:'http://192.168.0.247:9000/media/advert/8/2021-05-11/1620702719773.mp4',
      videoUrl:'https://www.anbotcloud.cn/minIO/media/advert/8/2021-05-11/1620702719773.mp4',
      videoUrl:'',
      playFlag:false,
    }
  },
  computed: {
  },
  onLoad(options) {
    if(options.url){
      this.videoUrl=config.IMAGE_APIHOST+options.url
    }
  },
  onShow(){
    util.socketTest();
  },
  methods: {
  },

}
</script>

<style lang="stylus" scoped>
.pageContent{

}
video{
  width: 750rpx;
}
</style>
